import request from "@/utils/request";
export function getClient() {
  return request({
    url: '/client/messages',
    method: 'get',
  })
}
export function clientList(query) {
  return request({
    url: '/client/messages/list',
    method: 'get',
    params:query
  })
}
export function getLinkmanList(clientId) {
  return request({
    url: '/client/messages/getlinkmanById?clientId='+clientId,
    method: 'post',

  })
}
export function submitClientForm(query) {
  return request({
    url: '/client/messages/submitClientForm',
    method: 'post',
    params:query
  })
}
